package de.akabahn.ebd.dbd;

import de.akabahn.ebd.comm.dbd.DBDParameter;

/**
 * Interface that must be implemented in order to subscribe to a DBD variable
 * and to receive the notifications if the variable changes.
 * 
 * @author Peter Eimann
 * @since 0.2
 * @version 1.0
 */
public interface DBDSubscriptionListener {

	/**
	 * This method is called by the <code>DBDAdapter</code> to notify the
	 * subscriber that the value of a variable has changed.
	 * 
	 * @param dbd
	 *            The variable that has changed and its new value
	 */
	public void onChange(DBDParameter dbd);
}
